/*
 * @(#) ArticleDao.java 2018年2月8日 下午5:34:04
 *
 * Copyright 2018 CIMIP, Inc. All rights reserved.
 * H-VISIONS PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */package cn.hc.share.dao;

import java.util.List;

import cn.hc.share.entity.Comment;

public interface CommentDao
{

	public int addComment(Comment comment);

	//通过articleId获取文章的所有id
	public List<Comment> findCommentsByArticleId(String articleId);

	//统计评论数量
	public int countCommentsByArticleId(String articleId);

	
	//删除评论byCommentId
	public int removeCommentByCommentId(String id);
	
	
}
